﻿using RayDen.RayEngine.Scene;
using RayEngine.Spectral.Entities.Lighting;
using RayEngine.Spectral.Entities.Materials;

namespace RayEngine.Spectral.Entities
{
    public class LightsourceObject : BaseSceneObject
    {
        public int SolidId;
        protected internal BaseLight Light;
        protected internal LightMaterial Material;
        public LightsourceObject(BaseMaterial material, BaseLight light) : base(null)
        {
            this.Light = light;
            this.Material = (LightMaterial) material;
        }

        public override ScenePrimitiveType PrimitiveType
        {
            get { return ScenePrimitiveType.Light; }
        }
    }
}